<?php
/*
 * @Description: 
 * @Author: 橘子味的心
 * @Date: 2021-03-18 17:18:29
 * @LastEditTime: 2021-03-18 17:47:53
 * @LastEditors: 橘子味的心
 * @Reference: 
 */
namespace x_mier\PHPMailer;

/**
 * PHPMailer exception handler.
 *
 * @author Marcus Bointon <phpmailer@synchromedia.co.uk>
 */
class Exception extends \Exception
{
    /**
     * Prettify error message output.
     *
     * @return string
     */
    public function errorMessage()
    {
        return '<strong>' . htmlspecialchars($this->getMessage()) . "</strong><br />\n";
    }
}
